package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Address;

import java.util.List;

public interface AddressService {
    void add(Address address);

    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    Address findById(Integer id);

    void edit(Address address);

    void delete(Integer id);

    List<Address> findAll();

    Address findByName(String addressName);
}
